package Others.DesignPattern.ObserverPattern.Pattern.Object;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@AllArgsConstructor
@NoArgsConstructor
public abstract class Observer {

    public String name;
    public Secretary sub;

    public abstract void update();

}
